package com.xhcl.system.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xhcl.common.annotation.Excel;
import com.xhcl.common.core.domain.BaseEntity;

/**
 * 数据同步对象 t_gg_sjtb
 * 
 * @author xhcl
 * @date 2020-09-02
 */
public class TGgSjtb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流水号 */
    private String lsh;

    /** 同步类型 */
    @Excel(name = "同步类型")
    private String tblx;

    /** 同步类型名称 */
    @Excel(name = "同步类型名称")
    private String tblxmc;

    /** 同步URL地址 */
    @Excel(name = "同步URL地址")
    private String tburl;

    /** 同步起始时间 */
    @Excel(name = "同步起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tbqssj;

    /** 同步终止时间 */
    @Excel(name = "同步终止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tbzzsj;

    /** 0未发起,1已发起2失败,3成功 */
    @Excel(name = "同步状态")
    private String tbzt;

    /** 同步状态码头0成功1,失败 */
    @Excel(name = "同步状态码")
    private String code;

    /** 同步返回错误消息 */
    @Excel(name = "同步返回错误消息")
    private String msg;

    /** 请求出错信息 */
    @Excel(name = "请求出错信息")
    private String errmsg;

    /** 同步的总记录数 */
    @Excel(name = "同步的总记录数")
    private Long talcount;

    public void setLsh(String lsh) 
    {
        this.lsh = lsh;
    }

    public String getLsh() 
    {
        return lsh;
    }
    public void setTblx(String tblx) 
    {
        this.tblx = tblx;
    }

    public String getTblx() 
    {
        return tblx;
    }
    public void setTblxmc(String tblxmc) 
    {
        this.tblxmc = tblxmc;
    }

    public String getTblxmc() 
    {
        return tblxmc;
    }
    public void setTburl(String tburl) 
    {
        this.tburl = tburl;
    }

    public String getTburl() 
    {
        return tburl;
    }
    public void setTbqssj(Date tbqssj) 
    {
        this.tbqssj = tbqssj;
    }

    public Date getTbqssj() 
    {
        return tbqssj;
    }
    public void setTbzzsj(Date tbzzsj) 
    {
        this.tbzzsj = tbzzsj;
    }

    public Date getTbzzsj() 
    {
        return tbzzsj;
    }
    public void setTbzt(String tbzt) 
    {
        this.tbzt = tbzt;
    }

    public String getTbzt() 
    {
        return tbzt;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setMsg(String msg) 
    {
        this.msg = msg;
    }

    public String getMsg() 
    {
        return msg;
    }
    public void setErrmsg(String errmsg) 
    {
        this.errmsg = errmsg;
    }

    public String getErrmsg() 
    {
        return errmsg;
    }
    public void setTalcount(Long talcount) 
    {
        this.talcount = talcount;
    }

    public Long getTalcount() 
    {
        return talcount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lsh", getLsh())
            .append("tblx", getTblx())
            .append("tblxmc", getTblxmc())
            .append("tburl", getTburl())
            .append("tbqssj", getTbqssj())
            .append("tbzzsj", getTbzzsj())
            .append("tbzt", getTbzt())
            .append("code", getCode())
            .append("msg", getMsg())
            .append("errmsg", getErrmsg())
            .append("talcount", getTalcount())
            .toString();
    }
}
